[PATCH] Workaround for GLib's recursive moving error, e.g. with bound mounts
authorTsu Jan <tsujan2000@gmail.com>
Sun, 21 Apr 2019 19:37:07 +0000 (00:07 +0430)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 23 Oct 2020 17:28:57 +0000 (18:28 +0100)
commitdceda38c3fc2cec685ef3e23b8e61e646214564f
tree8c18a3da7aaf89d086878eec2bfc258407a8a89c
parente95d75d54ff78c0e693baa4ce85deb0d5d5c7884
[PATCH] Workaround for GLib's recursive moving error, e.g. with bound mounts

`g_file_move()` may not work recursively on the same filesystem, especially
with bound mounts (to `/mnt`, for example) and give the `G_IO_ERROR_WOULD_RECURSE`
error. This patch ignores the error and tries our `FileTransferJob::copyFile()`.

Closes https://github.com/lxqt/pcmanfm-qt/issues/943

Gbp-Pq: Name workaround-glib-recursive-moving-error.patch
src/core/filetransferjob.cpp